﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Services
{
	public interface IVisitorService
	{
		IEnumerable<int> GetLatestProductIdList(string visitorId);
		IEnumerable<ERPStore.Models.SearchTerm> GetLatestSearch(string visitorId);
		void AddLatestVisitedProduct(ERPStore.Models.Product product);
		ERPStore.Models.LatestVisitedProduct GetLatestVisitedProductByCategory(global::ERPStore.Models.ProductCategory category);
		IList<ERPStore.Models.LatestVisitedProduct> GetLatestVisitedProductListByCategory(global::ERPStore.Models.ProductCategory category);
		IList<ERPStore.Models.LatestVisitedProduct> GetLatestVisitedProductList(int productCount, bool cache = true);
		ERPStore.Tracking.Models.VisitorHistory GetVisitorHistory(string visitorId);
	}
}
